# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=stagit
pkgver=0.9.4
pkgrel=0
pkgdesc="static git page generator"
url="https://www.codemadness.org/stagit.html"
arch="all"
license="MIT"
options="!check" # No tests exist
makedepends="libgit2-dev"
subpackages="$pkgname-doc"
source="https://codemadness.org/releases/stagit/stagit-$pkgver.tar.gz"

build() {
	make
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" MANPREFIX=/usr/share/man install
}

sha512sums="12ef71123a12a77f5d5c2245ae54f0ed6a97c80f8b97c9654f086eca88ab7945ce599afdb526b2db843becf86d48b018181a5068e09c32bfceefad1d50b98c94  stagit-0.9.4.tar.gz"
